package com.peas.platform.module.icims.expenditure.kpis.controller.vo;

import java.math.*;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("指标单经济支出预算")
public class ExpenditureKpiItemVo extends BaseVo {

    // （指标单表）外键
    @ApiModelProperty(value = "指标单表ID", notes = "")
    @NotNull(message = "指标单表ID不能为空")
    private Long expenditureKpiId;

    // （经济分类表）多级外键
    @ApiModelProperty(value = "经济分类ID", notes = "")
    @Size(max = 200, message = "经济分类ID不能超过200个字符")
    private String expenditureEconomicId;

    @ApiModelProperty(value = "金额", notes = "")
    private BigDecimal amount;

    @ApiModelProperty(value = "浮动率", notes = "")
    private BigDecimal fluctuate;

    @ApiModelProperty(value = "备注", notes = "")
    private String remark;

}
